{% extends 'base.html' %}
{% block content %}

    <h3>个人用户信息</h3>
    <table border="1" class="layui-table">
        <thead>
            <tr>
                <th>ID</th>
                <th>用户名</th>
                <th>电话</th>
                <th>邮箱</th>
                <th>角色</th>
                <th>岗位</th>
                <th>加入时间</th>
                <th><a href="/insert">操作</a></th>
            </tr>

        </thead>

        <tbody>
            {% for user in content %}
            <tr>
            {% for u in user %}
                <td>{{ u }}</td>
                {% endfor %}
                <td>
                    <a href="/edit?nid={{key}}">编辑</a>
                    <a href="/del/{{key}}">删除</a>
                </td>

            </tr>
            {% endfor %}
        </tbody>


    </table>
{% endblock %}
{% block js %}
  <style type="text/css">
      .tab1 {
          width: 300px;
          height: 300px;
          margin-top: 120px;
          margin-left: 380px;
          padding-top: 25px;
          border: 1px solid lightblue;
          background-color: whitesmoke;
      }
  </style>
{% endblock %}


